median Function

public pure function median(x) result(rst)

Computes the median of the values in an array.

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: x(:)

The array of values to analyze.

Return Value real(kind=real64)

The result.